/* 基本重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    background: linear-gradient(135deg, #ffcdd2 0%, #f8bbd0 50%, #e1bee7 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

/* CSS变量定义 */
:root {
    /* 主色调 */
    --primary-color: #ec407a;
    --primary-dark: #d81b60;
    --primary-light: #f48fb1;
    --primary-lighter: #fce4ec;
    
    /* 辅助色 */
    --secondary-color: #9c27b0;
    --secondary-light: #e1bee7;
    
    /* 背景色 */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-gradient: linear-gradient(135deg, #ffcdd2 0%, #f8bbd0 50%, #e1bee7 100%);
    
    /* 文本颜色 */
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-light: #ffffff;
    
    /* 阴影 */
    --shadow-light: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-heavy: 0 10px 20px rgba(0,0,0,0.2);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
    --radius-xl: 30px;
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* 过渡动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

ul {
    list-style: none;
}

/* 导航栏样式 */
header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
}

header.scrolled {
    box-shadow: var(--shadow-medium);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 5%;
    max-width: 1200px;
    margin: 0 auto;
    transition: padding var(--transition-normal);
}

nav.scrolled {
    padding: var(--spacing-sm) 5%;
}

/* 语言选择器样式 */
.language-selector select {
    padding: var(--spacing-xs);
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    background-color: var(--bg-primary);
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: all var(--transition-normal);
}

.language-selector select:hover,
.language-selector select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(236, 64, 122, 0.1);
}

/* 导航栏响应式调整 */
.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a {
    transition: all var(--transition-normal);
    font-weight: bold;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 主要内容区域 */
main {
    margin-top: 80px; /* 为固定导航栏留出空间 */
}

section {
    padding: var(--spacing-xl) 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
}

.section-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
    padding: 8rem 5%;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    width: 100%;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,30 C70,40 30,40 0,30 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.profile-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.profile-image:hover img {
    transform: scale(1.1);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

#cta-button {
    background-color: var(--bg-primary);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

#cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

#cta-button:hover::before {
    left: 100%;
}

#cta-button:hover {
    background-color: var(--primary-light);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* 关于我区域 */
.about {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    margin: 2rem auto;
    box-shadow: var(--shadow-medium);
    text-align: center;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.about:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.about h2 {
    width: 100%;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 2rem;
    position: relative;
}

.about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-light);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    width: 100%;
}

.about-image {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-normal);
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text {
    width: 100%;
    max-width: 700px;
    background-color: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    text-align: left;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 添加动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 项目区域 */
.projects {
    background-color: var(--primary-lighter);
    border-radius: var(--radius-lg);
    margin: 2rem auto;
    box-shadow: var(--shadow-medium);
    text-align: center;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(236, 64, 122, 0.05);
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: 0;
}

.projects h2 {
    width: 100%;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.projects h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-light);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.project-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    border: 2px solid var(--primary-light);
    margin: 0 auto;
    max-width: 380px;
    position: relative;
    transform-style: preserve-3d;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateZ(1px);
}

.project-card:hover {
    transform: translateY(-8px) rotateY(5deg);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
    pointer-events: none;
}

.project-card h3 {
    padding: 1.5rem 1.5rem 0.8rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 联系区域 */
.contact {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    margin: 2rem auto;
    box-shadow: var(--shadow-medium);
    text-align: center;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background-color: rgba(236, 64, 122, 0.03);
    border-radius: 50%;
    transform: translate(-50%, 50%);
    z-index: 0;
}

.contact h2 {
    width: 100%;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.contact h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-light);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    width: 100%;
    position: relative;
    z-index: 1;
}

.contact-info {
    width: 100%;
    max-width: 600px;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #ec407a;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #555;
}

/* 联系表单样式 */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: bold;
    color: #880e4f;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 2px solid #f48fb1;
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ec407a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 64, 122, 0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    background-color: #ec407a;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    align-self: center;
    width: 100%;
    max-width: 200px;
}

.contact-form button:hover {
    background-color: #d81b60;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* 社交媒体样式 */
.social-media {
    margin-top: 1.5rem;
}

.social-media h4 {
    margin-bottom: 1rem;
    color: #880e4f;
    font-size: 1.1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ec407a;
    font-weight: bold;
    padding: 0.8rem;
    border-radius: 10px;
    background-color: rgba(236, 64, 122, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    width: fit-content;
}

.social-link:hover {
    background-color: rgba(236, 64, 122, 0.2);
    transform: translateX(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 技能标签样式 */
.skills-section {
    margin-top: var(--spacing-xl);
    width: 100%;
    padding: var(--spacing-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
}

.skills-section h3 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.skill-tag {
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-xl);
    font-weight: bold;
    transition: all var(--transition-normal);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.skill-tag:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.skill-tag:hover::before {
    left: 100%;
}

/* 技能等级颜色区分 */
.skill-level-5 {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 2px 5px rgba(236, 64, 122, 0.3);
}

.skill-level-4 {
    background-color: var(--secondary-color);
    color: var(--text-light);
    box-shadow: 0 2px 5px rgba(186, 104, 200, 0.3);
}

.skill-level-3 {
    background-color: #81d4fa;
    color: #0d47a1;
    box-shadow: 0 2px 5px rgba(129, 212, 250, 0.3);
}

/* 时间线样式 */
.timeline-section {
    margin-top: var(--spacing-xl);
    width: 100%;
    padding: var(--spacing-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
}

.timeline-section h3 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.timeline {
    width: 100%;
    position: relative;
    padding: var(--spacing-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--primary-light);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: var(--spacing-xl);
    position: relative;
    opacity: 0;
    animation: fadeIn var(--transition-slow) forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-date {
    flex: 0 0 150px;
    text-align: right;
    font-weight: bold;
    color: var(--primary-color);
    padding-right: var(--spacing-lg);
    position: relative;
}

.timeline-date::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(236, 64, 122, 0.2);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding-left: var(--spacing-lg);
    text-align: left;
    background-color: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--bg-primary) transparent transparent;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 成就展示样式 */
.achievements-section {
    margin-top: var(--spacing-xl);
    width: 100%;
    padding: var(--spacing-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
}

.achievements-section h3 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-size: 1.5rem;
    text-align: center;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    justify-content: center;
}

.achievement-card {
    background-color: var(--primary-lighter);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-light);
}

.achievement-card h4 {
    color: var(--primary-dark);
    font-size: 1.2rem;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    color: var(--text-light);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: 3rem auto 0;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color), var(--secondary-color), var(--secondary-light));
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-sm);
}

.social-links a {
    color: var(--text-light);
    transition: all var(--transition-normal);
    font-weight: bold;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.social-links a:hover {
    color: var(--primary-lighter);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .container {
        width: 90%;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .navbar ul {
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
        --spacing-md: 1rem;
        --spacing-sm: 0.75rem;
        --spacing-xs: 0.5rem;
    }
    
    .container {
        width: 95%;
        margin: 0 auto;
    }

    .navbar {
        padding: var(--spacing-md);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
    }

    .navbar ul {
        flex-direction: column;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        padding: var(--spacing-md);
        box-shadow: var(--shadow-medium);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .navbar.active ul {
        display: flex;
        gap: var(--spacing-md);
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 80px;
        min-height: calc(100vh - 80px);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .hero-text {
        order: 2;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-image {
        order: 1;
        margin-bottom: 0;
    }

    .hero-image img {
        width: 150px;
        height: 150px;
    }

    .btn-primary {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .about-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .timeline {
        padding-left: var(--spacing-md);
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        position: relative;
        padding-right: 0;
        text-align: center;
        margin-bottom: var(--spacing-md);
    }

    .timeline-content {
        padding-left: 0;
    }

    .timeline-content::before {
        display: none;
    }

    .timeline-date::after {
        right: 50%;
        top: auto;
        bottom: -15px;
        transform: translateX(50%);
    }

    .timeline-divider {
        height: auto;
        width: 2px;
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
    }

    .contact-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .contact-form {
        width: 100%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        width: 100%;
    }

    .achievement-card {
        margin-bottom: var(--spacing-md);
    }

    footer {
        width: 100%;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
    
    .footer-content {
        padding: var(--spacing-lg);
    }
    
    .social-links {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
}